#--coding:utf-8--


class Fish:
    hungry = True
    def eat(self,food):
        if food is not None:
            self.hungry=False

class User:
    def __init__(self,name):
        self.name=name

    if __name__=="__main__":
        a="abc"
        b="def"

        print "%s is not %s"%(a,b)
# test()
f=Fish()
Fish.eat(f,None)
print(f.hungry)
#
# Fish.eat(f,"earthworm")
# f.eat("earthworm")
# print(f.hungry)
u=User('zhangsan')
print(u.name)

